package com.moore.service;

import com.moore.bean.Community;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public interface CommunityService {
    IPage<Community> getCommunities(Page<Community> page, Long candidateId);

    Community getCommunityByCommunityId(Long communityId, Long candidateId);

    int addCommunity(Community community);

    int deleteCommunity(Long communityId);

    int reportCommunity(Long communityId);
}